package com.hy.${packageCode}.server.core.dbaccess;

import com.hy.${packageCode}.shared.dbaccess.commont.Comment;
import com.hy.${packageCode}.shared.dbaccess.entity.AbstractAuditable;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.Setter;

<#if containDate>
import java.time.LocalDateTime;
</#if>

@Setter
@Getter
@Entity
@Table(name = "${tableCode}")
public class ${classCode}PO extends AbstractAuditable {


<#list parameters as parameter>
    @Column(name = "${parameter.column}")
    @Comment("${parameter.description}")
    private ${parameter.fieldType} ${parameter.fieldName};

</#list>

}
